package com.itheima.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.util.Date;


/**
* cities : 
* @author Wei
* @since 2021-8-6 15:38:56
*/
@TableName("cities")
public class Cities  implements Serializable {

private static final long serialVersionUID = 1L;

        /**
        * name,  
        */
        private String name;

        /**
        * code,  
        */

        private String code;

        /**
        * type,  
        */
        @JsonIgnore
        private Integer type;

        /**
        * superior,  
        */
        @JsonIgnore
        private String superior;

        /**
        * createdAt,  
        */
        @JsonIgnore
        private Date createdAt;

        /**
        * updatedAt,  
        */
        @JsonIgnore
        private Date updatedAt;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSuperior() {
        return superior;
    }

    public void setSuperior(String superior) {
        this.superior = superior;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    public Cities(String name, String code, Integer type, String superior, Date createdAt, Date updatedAt){
    this.name = name;
    this.code = code;
    this.type = type;
    this.superior = superior;
    this.createdAt = createdAt;
    this.updatedAt = updatedAt;
}

public Cities(){
}


}